package com.tyk.bookstore.front.system.repository;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tyk.bookstore.front.system.model.dto.CarouselDto;
import com.tyk.bookstore.front.system.model.entity.CarouselDo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
/**
 * @author tyk
 * @description 轮播图管理
 */
@Mapper
public interface CarouselRepository extends BaseMapper<CarouselDo> {

    /**
     * @return 轮播图列表
     */
    List<CarouselDto> selectEnableList();
}
